package com.aphrodite.util.geom;

public class Triangle extends Shape {

	private int x2;
	private int x3;

	private int y2;
	private int y3;

	public Triangle() {
		this(0, 0, 0, 0, 0, 0);
	}

	public Triangle(int x1, int y1, int x2, int y2, int x3, int y3) {
		super(x1, y1);
		this.x2 = x2;
		this.y2 = y2;
		this.x3 = x3;
		this.y3 = y3;
	}

	public void setP2(int x2, int y2) {
		this.x2 = x2;
		this.y2 = y2;
	}

	public void setP3(int x3, int y3) {
		this.x3 = x3;
		this.y3 = y3;
	}

	public void setX(int x1) {
		this.x = x1;
	}

	public void setY(int y1) {
		this.y = y1;
	}
}
